#ifndef CUSERNETWORK_H
#define CUSERNETWORK_H

#include <QObject>
#include "cnetwork.h"

class CUserNetwork : public QObject
{
    Q_OBJECT

public:
    CUserNetwork(QObject *parent = 0);
    ~CUserNetwork();

public:
    void request(int command, QString ipAddress, QString *arg, int count);


protected Q_SLOTS:
    void downloadProgress(qint64 bytesReceived, qint64 bytesTotal);
    void downloadFinished();

private:
    CNetwork *m_pNetwork;
};

#endif // CUSERNETWORK_H
